package com.jucai.pppeiyouclient.adapter;

import android.content.Context;
import android.text.TextUtils;
import android.widget.Filter;
import android.widget.Filterable;

import com.jucai.pppeiyouclient.R;
import com.jucai.pppeiyouclient.base.CommonRecyclerViewAdapter;
import com.jucai.pppeiyouclient.bean.CityBean;
import com.jucai.pppeiyouclient.bean.RewardBean;
import com.jucai.pppeiyouclient.utils.LogUtils;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Kuky on 2017-04-26.
 */

public class RewardAdapter extends CommonRecyclerViewAdapter<RewardBean>{
    private static final String TAG = "RewardAdapter : ";

    public RewardAdapter(Context context, List<RewardBean> data) {
        super(context, data);
    }

    @Override
    public void setData(List<RewardBean> data) {
        super.setData(data);
    }


    @Override
    public void bindHolder(CommonHolder holder, RewardBean bean) {
        holder.setText(R.id.reward_content,bean.getReward_content());
    }

    @Override
    protected int getItemType(int position) {
        return 0;
    }

    @Override
    public int getLayoutId(int viewType) {
        return R.layout.item_reward_layout;
    }


}
